package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.DTRequestDto;
import com.hualude.roadsign.dto.DTResponseDto;
import com.hualude.roadsign.dto.MaintenanceDto;

import java.util.List;

/**
 * Created by shao-yikun on 2017/4/11.
 */
public interface FaultHandleService {

    /**
     * @Description: 故障维修信息的DT展示
     * @Author: shao-yikun
     * @Date: 2017/3/4 18:44
     */
    public DTResponseDto getFaultHandle4DT(DTRequestDto dtRequestDto,
                                           Integer orgId,
                                           Integer maintenanceStatus,
                                           String actorIds) throws Exception;

    /**
     * @Description: 获取故障维修信息
     * @Author: shao-yikun
     * @Date: 2017/4/23 18:46
     */
    public List<MaintenanceDto> getFaultHandle(Integer orgId,
                                               Integer maintenanceStatus,
                                               String actorIds,
                                               Integer mCount,
                                               Integer mySize) throws Exception;

    /**
     * @Description: 添加施工方案
     * @Author: shao-yikun
     * @Date: 2017/4/12 14:24
     */
    public Integer addMaintenanceContent(Integer maintenanceId, String maintenanceContent) throws Exception;

    /**
     * @Description: 修改故障维修表
     * @Author: shao-yikun
     * @Date: 2017/4/12 21:15
     */
    public Integer updateMaintenance(MaintenanceDto maintenanceDto) throws Exception;

    /**
     * @Description: 根据维修Id获取维修信息
     * @Author: shao-yikun
     * @Date: 2017/3/15 20:53
     */
    public MaintenanceDto getMaintenanceByMaintenanceId(Integer maintenanceId) throws Exception;


    /**
     * @Author: shao-yikun
     * @Description: 根据维修Id得到回执单
     * @Date: 2017/3/23 13:22
     */
    public MaintenanceDto getReceiptByMaintenanceId(Integer maintenanceId) throws Exception;
}
